/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bardejov;

import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JPanel;

/**
 *
 * @author Administrator
 */
public class BardejovBoard extends JPanel {
 Image bardejov;

    public BardejovBoard() {
        ImageIcon ii = new ImageIcon("Image/Bardejov.gif");
        bardejov = ii.getImage();
    }

    @Override
    public void paint(Graphics g) {

        Graphics2D g2d = (Graphics2D) g;
        g2d.drawImage(bardejov, 10, 10, null);
    }

    
}
